package com.blue.integration.serve;

import java.io.Serializable;
import java.util.Date;

/**
 * 身份证信息
 * 
 * @author zhengj
 * @since 1.0 2016年12月12日
 */
public class IdentityCard implements Serializable
{
	private static final long serialVersionUID = 1L;
	
	private Side side;
	/* 正面信息 */
	private String num; // 身份证号
	private String name; // 姓名
	private String sex; // 性别
	private Date birthday; // 生日
	private String nationality; // 民族
	private String address; // 地址

	/* 反面 */
	private String issue; // 签发机关
	private Date startDate; // 有效期起始时间
	private Date endDate; // 有效期结束时间

	public enum Side
	{
		/**
		 * 身份证正面
		 */
		FACE,

		/**
		 * 身份证反面
		 */
		BACK
	}

	public IdentityCard()
	{
	}

	public Side getSide()
	{
		return side;
	}

	public void setSide(Side side)
	{
		this.side = side;
	}

	public String getNum()
	{
		return num;
	}

	public void setNum(String num)
	{
		this.num = num;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getSex()
	{
		return sex;
	}

	public void setSex(String sex)
	{
		this.sex = sex;
	}

	public Date getBirthday()
	{
		return birthday;
	}

	public void setBirthday(Date birthday)
	{
		this.birthday = birthday;
	}

	public String getNationality()
	{
		return nationality;
	}

	public void setNationality(String nationality)
	{
		this.nationality = nationality;
	}

	public String getAddress()
	{
		return address;
	}

	public void setAddress(String address)
	{
		this.address = address;
	}

	public String getIssue()
	{
		return issue;
	}

	public void setIssue(String issue)
	{
		this.issue = issue;
	}

	public Date getStartDate()
	{
		return startDate;
	}

	public void setStartDate(Date startDate)
	{
		this.startDate = startDate;
	}

	public Date getEndDate()
	{
		return endDate;
	}

	public void setEndDate(Date endDate)
	{
		this.endDate = endDate;
	}

}
